package com.CISS.service;

import com.CISS.dao.CisuserMapper;
import com.CISS.dao.CisuserinfoMapper;
import com.CISS.dao.CompanyMapper;
import com.CISS.entity.Cisuser;
import com.CISS.entity.Cisuserinfo;
import com.CISS.entity.Company;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import javax.jws.soap.SOAPBinding;
import javax.xml.transform.Result;
import java.sql.Date;
import java.util.List;

@Service
public class CompanyService {

    @Autowired
    private CompanyMapper cm;

    public List<String> getAllCompanies(){
        List<String> CL = cm.selectAllCompanies();
        return CL;
    }
}
